package util.enumeration;

import java.sql.Time;

public enum OperatingHours {

    EightAM("8:00am", Time.valueOf("08:00:00")),
    NineAM("9:00am", Time.valueOf("09:00:00")),
    TenAM("10:00am", Time.valueOf("10:00:00")),
    ElevenAM("11:00am", Time.valueOf("11:00:00")),
    TwelvePM("12:00pm", Time.valueOf("12:00:00")),
    OnePM("1:00pm", Time.valueOf("13:00:00")),
    TwoPM("2:00pm", Time.valueOf("14:00:00")),
    ThreePM("3:00pm", Time.valueOf("15:00:00")),
    FourPM("4:00pm", Time.valueOf("16:00:00")),
    FivePM("5:00pm", Time.valueOf("17:00:00")),
    SixPM("6:00pm", Time.valueOf("18:00:00")),
    SevenPM("7:00pm", Time.valueOf("19:00:00")),
    EightPM("8:00pm", Time.valueOf("20:00:00")),
    NinePM("9:00pm", Time.valueOf("21:00:00")),
    TenPM("10:00pm", Time.valueOf("22:00:00")),
    ElevenPM("11:00pm", Time.valueOf("23:00:00")),
    TwelveAM("12:00am", Time.valueOf("00:00:00")),
    OneAM("1:00am", Time.valueOf("01:00:00")),
    TwoAM("2:00am", Time.valueOf("02:00:00")),
    ThreeAM("3:00am", Time.valueOf("03:00:00")),
    FourAM("4:00am", Time.valueOf("04:00:00")),
    FiveAM("5:00am", Time.valueOf("05:00:00")),
    SixAM("6:00am", Time.valueOf("06:00:00")),
    SevenAM("7:00am", Time.valueOf("07:00:00")),
    OFF("OFF", Time.valueOf("23:59:00"));
    
    private final String label;
    private final Time time;

    private OperatingHours(String label, Time time) {
        this.label = label;
        this.time = time;
    }

    public String getLabel() {
        return this.label;
    }

    public Time getTime() {
        return this.time;
    }
}
